import { basicReferencePlaneIDs, pickedFaceData, Types } from '@amcax/base';

export const isPlaneInfinite = (plane: pickedFaceData) => {
  return (
    basicReferencePlaneIDs.includes((plane.objInfo as any)?.dxid) ||
    plane.objInfo?.params?.infinite ||
    plane.objInfo?.type === Types.FRAME
  );
};
